package com.shyroke.daydayzhuanapi.entity;

import lombok.Getter;
import lombok.Setter;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Table;
import java.io.Serializable;
import java.util.Date;

@Getter
@Setter
@Entity
@Table(name = "advert")
public class AdvertEntity extends BaseEntity implements Serializable {
    private String url;

    private Date createTime;

    private String used;

    private Date endTime;

    private String link;

    @Column(name = "`desc`")
    private String desc;
}